home *** CD-ROM | disk | FTP | other *** search
/ Champak 146 / (Vol 146) Jan 07 2012.iso / Games / star_catcher.swf / scripts / DefineSprite_155 / frame_32 / DoAction.as
Encoding:
Text File  |  2012-01-07  |  294 b   |  16 lines

  1. if(_root.gLettersCaught < String(_root.gBonusWord).length)
  2. {
  3.    if(Math.random() > 0.2 && _root.gLetterOnScreen == false)
  4.    {
  5.       _root.fnLaunchObj("letter");
  6.    }
  7. }
  8. else if(_root.gGamePaused == true)
  9. {
  10.    stop();
  11. }
  12. else if(_root.gGamePaused == false)
  13. {
  14.    gotoAndPlay(38);
  15. }
  16.